<!doctype html>
<html class="no-js">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="description" content="">
  <meta name="keywords" content="">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  <title>我的个人中心</title>
  <link rel="stylesheet" href="__STATIC__/css/bootstrap.min.css"> 
  <link rel="stylesheet" href="__STATIC__/css/weui/weui.min.css"/> 

  <link rel="stylesheet" type="text/css" href="__STATIC__/css/public.css"/>
  <link rel="stylesheet" href="http://wxv2.lppz.com/shop_resource/wechat/css/app.css">
  <link rel="stylesheet" href="//at.alicdn.com/t/font_311459_gvot117azat0rudi.css"/>
  <style>
    .cc_icon{
      position:absolute;
      left:0;
      top:0;
      z-index:100;
      width:20%;
    }
    .deline{
      text-decoration:line-through;
      color:#999;
      font-size:12px;
      font-weight:bold;
    }
    .ad-mcube-list{max-height:inherit!important;}
    .search-header .search-form input{
      background: url(/public/static/images/mobile/index/top_search_bg.png) no-repeat 35px 50% #eee;
    }

   
    .label-prom{color:#fff;display: block;width:40px;height: 40px;position: absolute;top:0;background: url(__STATIC__/images/label-prom.png) no-repeat center top;background-size:90%;text-align: center;font-size: 14px;font-weight: bold;line-height: 26px}
    .label-red{background: red;width:20px;height: 20px;border-radius: 5px;padding:0px 2px;color:#fff;font-size:11px;font-style: normal;}
    .z-time{position: absolute;bottom: 10px;width:100%;color:#fff;text-align: center;opacity: 0.5;height: 20px;line-height: 20px;text-align: center;}
    .z-time div{display: block;width:93%;background: #D5006A;height: 20px;line-height: 20px;margin:0 auto;}
    .goods-title{font-size:12px!important;}
    .hdline{border-top:1px solid #ddd;margin: 20px 30px 10px 30px;}

    .hdline span{display: block;width:100px;text-align: center;margin:0 auto;margin-top:-10px;background: #eee;color:#bbb;font-size:12px;}
    .yuan-bg{background: #EA382C;padding:0px 3px;border-radius: 10px;color:#fff;font-size:10px;position: absolute;top: 3px;right:15px;height: 12px;line-height: 12px;}
  </style>
  <script >
  var Tday = new Array();
  var daysms = 24 * 60 * 60 * 1000
  var hoursms = 60 * 60 * 1000
  var Secondms = 60 * 1000
  var microsecond = 1000
  var DifferHour = -1
  var DifferMinute = -1
  var DifferSecond = -1

  function clock11(key)
  {
     var time = new Date()
     var hour = time.getHours()
     var minute = time.getMinutes()
     var second = time.getSeconds()
     var timevalue = ""+((hour > 12) ? hour-12:hour)
     timevalue +=((minute < 10) ? ":0":":")+minute
     timevalue +=((second < 10) ? ":0":":")+second
     timevalue +=((hour >12 ) ? " PM":" AM")
     var convertHour = DifferHour
     var convertMinute = DifferMinute
     var convertSecond = DifferSecond
     var Diffms = Tday[key].getTime() - time.getTime()
     DifferHour = Math.floor(Diffms / daysms)
     Diffms -= DifferHour * daysms
     DifferMinute = Math.floor(Diffms / hoursms)
     Diffms -= DifferMinute * hoursms
     DifferSecond = Math.floor(Diffms / Secondms)
     Diffms -= DifferSecond * Secondms
     var dSecs = Math.floor(Diffms / microsecond)
    
    if(convertHour != DifferHour) e="<span class=hour>"+DifferHour+"</span>天";
     if(convertMinute != DifferMinute) f="<span class=min>"+DifferMinute+"</span>时";
     if(convertSecond != DifferSecond) g="<span class=sec>"+DifferSecond+"</span>分";
       h="<span class=msec>"+dSecs+"</span>秒";
       if (DifferHour>0) {e=e}
       else {e=''}
       //document.getElementById("jstimerBox"+key).innerHTML = e + f + g + h; 
       return (e + f + g + h);
  }

  </script>
</head>
<body>
<div class="mycenter">
   <include file="public/uer_topnav"/>
   <!-- 我的订单区域 -->
    <div class="item-box myorder">
        <ul>
              <li class="order-cont">
                  <a href="{:U('/Mobile/User/order_list',array('type'=>'WAITPAY'))}">
                      <div class="myID-part w-3">
                          <span class="iconfont icon-daifukuan"></span>
                          <span class="myID-text">待付款</span>
                          <i class="yuan-bg">{$wait_pay}</i>
                      </div>
                  </a>
                  <a href="{:U('/Mobile/User/order_list',array('type'=>'WAITRECEIVE'))}">
                      <div class="myID-part w-3">
                          <span class="iconfont icon-daishouhuo"></span>
                          <span class="myID-text">待收货</span>
                          <i class="yuan-bg">{$wait_receive}</i>
                      </div>
                  </a>
                  <a href="{:U('/Mobile/User/order_list',array('type'=>'WAITCCOMMENT'))}">
                      <div class="myID-part w-3">
                          <span class="iconfont icon-daipingjia"></span>
                          <span class="myID-text">待评价</span>
                          <i class="yuan-bg">{$wait_comment}</i>
                      </div>
                  </a>
                  <a href="{:U('User/return_goods_list')}">
                      <div class="myID-part w-3">
                          <span class="iconfont icon-shouhou"></span>
                          <span class="myID-text">售后</span>
                          <i class="yuan-bg">{$count_return}</i>
                      </div>
                  </a>
                  <a href="{:U('Mobile/User/order_list')}">
                      <div class="myID-part w-3">
                          <span class="iconfont icon-icon17"></span>
                          <span class="myID-text">全部订单</span>
                          <i class="yuan-bg">{$order_count}</i>
                      </div>
                      <div class="jiao"><div class="jiao2"></div></div>
                  </a>
              </li>
        </ul>
    </div>
   <!-- 我的订单区域结束 -->

   <!-- 我的资产开始 -->
   <div class="item-box myzichan">
       <ul>
             <li class="order-cont">
                 <a href="{:U('User/points')}">
                     <div class="myID-part w-3">
                         <span class="watch-goods"><em class="watch-re">{$userinfo.user_money}</em></span>
                         <span class="myID-text">可用余额</span>
                     </div>
                 </a>
                 <a href="{:U('User/points',array('type'=>'all'))}">
                     <div class="myID-part w-3">
                         <span class="watch-goods"><em class="watch-re">{$userinfo.distribut_money}</em></span>
                         <span class="myID-text">分销佣金</span>
                     </div>
                 </a>
                 <a href="{:U('User/points',array('type'=>'points'))}">
                     <div class="myID-part w-3">
                         <span class="watch-goods"><em class="watch-re">{$userinfo.pay_points}</em></span>
                         <span class="myID-text">积分</span>
                     </div>
                 </a>
                 <a href="{:U('Mobile/User/coupon')}">
                     <div class="myID-part w-3">
                         <span class="watch-goods"><em class="watch-re">{$coupon_count}</em></span>
                         <span class="myID-text">优惠券</span>
                     </div>
                 </a>
                 
                 <a href="{:U('User/points')}">
                     <div class="myID-part w-3">
                         <span class="iconfont icon-qianbao"></span>
                         <span class="myID-text">我的钱包</span>
                     </div>
                     <div class="jiao"><div class="jiao2"></div></div>
                 </a>
             </li>
       </ul>
   </div>

   <!-- 我的资产区域结束 -->

   <div class="item-box otherinfo">
       <ul>
             <li class="order-cont">
                 <a href="{:U('User/shopactive')}">
                     <div class="myID-part w-3">
                         <span class="iconfont icon-cuxiao" style="color:#FE0E41;"></span>
                         <span class="myID-text">店铺活动</span>
                     </div>
                 </a>
                 <a href="{:U('Activity/group_list')}">
                     <div class="myID-part w-3">
                         <span class="iconfont icon-zhongchou" style="color:#F9470C;"></span>
                         <span class="myID-text">众筹商品</span>
                     </div>
                 </a>
                 <a href="{:U('User/address_list')}">
                     <div class="myID-part w-3">
                         <span class="iconfont icon-icon" style="color:#6509D7"></span>
                         <span class="myID-text">地址管理</span>
                     </div>
                 </a>
                 <a href="{:U('Distribut/recharge')}">
                     <div class="myID-part w-3">
                         <span class="iconfont icon-hezuofenxiaoshang" style="color:#2AA0F8"></span>
                         <span class="myID-text">成为分销商</span>
                     </div>
                 </a>
             </li>
       </ul>
   </div>
   
   <div class="item-box otherinfo">
       <ul>
             <li class="order-cont">
                 <a href="{:U('User/recharge')}">
                     <div class="myID-part w-3">
                          <span class="iconfont icon-chongzhi"></span>
                          <span class="myID-text">充值</span>
                     </div>
                 </a>
                 <a href="{:U('Goods/integralMall')}">
                     <div class="myID-part w-3">
                         <span class="iconfont icon-jifen" style="color:#EE903C;"></span>
                         <span class="myID-text">积分商城</span>
                     </div>
                 </a>
                 <a href="{:U('Index/shoplist')}">
                     <div class="myID-part w-3">
                          <span class="iconfont icon-bianlidian" style="color:#EE903C;"></span>
                          <span class="myID-text">店面导航</span>
                     </div>
                 </a>
                <if condition="$auth['type'] eq 1">
                 <a href="{:U('User/company_table')}">
                     <div class="myID-part w-3">
                        <span class="iconfont icon-baobiao" style="color:#FE0E41;"></span>
                        <span class="myID-text">店面报表</span>
                     </div>
                 </a>
                <else/>
                  <a href="javascript:void(0)">
                      <div class="myID-part w-3">
                      
                      </div>
                  </a>
                </if>
             </li>
       </ul>
   </div>
  
    <div class="hdline"><span>为您推荐</span></div>
<!-- 推荐商品模块 -->
   <div class="custom-goods" id="J_ItemList">
    <ul class="sc-goods-list clearfix two-col show">
        
    </ul>
    <a href="javascript:;" class="get_more" style="text-align:center; display:block;"> 
    <img src='__STATIC__/images/category/loader.gif' width="12" height="12"> </a> 
   </div>
   <div id="getmore" style="font-size:.24rem;text-align: center;color:#888;padding:.25rem .24rem .4rem;">
      <a href="javascript:void(0)" onClick="getGoodsList()">点击加载更多</a>
   </div>

   <!-- 我的信息开始 -->
   <!-- <div class="item-box myinfo">
      <ul class="in-list">
          <li>
              <div class="in-item  my-item">
                    <div class="iconfont icon-msnui-person-info" style="color:#2AA0F8;"></div>
                    <div class="in-item-info my-item ">
                        <div class="fl">
                          <span class="my-text">个人信息</span>
                        </div>
                        <div class="fr">
                          <span class="my-allitem">完善个人信息</span>
                          <span class="iconfont icon-jiantouyoujiantou"></span>
                        </div>
                    </div>
                </div>
          </li>
          <li>
            <a href="{:U('Home/Myquan/index')}">
              <div class="in-item  my-item">
                    <div class="iconfont icon-coupon red"></div>
                    <div class="in-item-info my-item ">
                        <div class="fl">
                          <span class="my-text">我的优惠券</span>
                        </div>
                        <div class="fr">
                          <span class="my-allitem">现金券、礼品券</span>
                          <span class="iconfont icon-jiantouyoujiantou"></span>
                        </div>
                    </div>
                </div>
              </a>
          </li>
          <li>
              <div class="in-item  my-item">
                    <div class="iconfont icon-peisong" style="color:#6509D7;"></div>
                    <div class="in-item-info my-item ">
                        <div class="fl">
                          <span class="my-text">配送信息</span>
                        </div>
                        <div class="fr">
                          <span class="my-allitem">收货地址修改</span>
                          <span class="iconfont icon-jiantouyoujiantou"></span>
                        </div>
                    </div>
                </div>
          </li>

      </ul>
   </div> -->
   <!-- 我的信息结束 -->
</div>
<script type="text/javascript" src="__STATIC__/js/jquery.js"></script>
<script src="__PUBLIC__/js/global.js"></script>
<include file="public/footer_nav"/>
<!-- <script src="__PUBLIC__/js/vconsole.min.js"></script> -->

<script type="text/javascript">
var url = "index.php?m=Mobile&c=Index&a=ajaxGetMore";
$(function(){
  getGoodsList();
});

var page = 1;
function getGoodsList(){
  $('.get_more').show();
  $.ajax({
    type : "get",
    url:"/index.php?m=Mobile&c=Index&a=ajaxGetMore&p="+page,
    success: function(data)
    {
      console.log(data);
      if(data){
        $("#J_ItemList>ul").append(data);
        page++;
        $('.get_more').hide();
      }else{
        $('.get_more').hide();
        $('#getmore').remove();
      }
    }
  }); 
}
</script> 
</body>
</html>